package com.hualan.sfzy.model.vo;

import lombok.Data;

@Data
public class AnswerCount {
    private Integer id;
    private String title;
    private Integer answerCount =0;
    // getter和setter方法
    public Integer getAnswerCount() {
        return answerCount != null ? answerCount : 0;
    }

    public void setAnswerCount(Integer answerCount) {
        this.answerCount = answerCount != null ? answerCount : 0;
    }
}
